package model

type Database struct {
	Name    string `gorm:"column:Name"`
	Comment string `gorm:"column:Comment"`
}

type InformationSchemaColumns struct {
	TableSchema            string `gorm:"column:TABLE_SCHEMA"`
	TableName              string `gorm:"column:TABLE_NAME"`
	ColumnName             string `gorm:"column:COLUMN_NAME"`
	OrdinalPosition        int    `gorm:"column:ORDINAL_POSITION"`
	ColumnDefault          string `gorm:"column:COLUMN_DEFAULT"`
	IsNullable             string `gorm:"column:IS_NULLABLE"`
	DataType               string `gorm:"column:DATA_TYPE"`
	CharacterMaximumLength string `gorm:"column:CHARACTER_MAXIMUM_LENGTH"`
	CharacterOctetLength   string `gorm:"column:CHARACTER_OCTET_LENGTH"`
	NumericPrecision       string `gorm:"column:NUMERIC_PRECISION"`
	NumbericScale          string `gorm:"column:NUMERIC_SCALE"`
	DatetimePrecision      string `gorm:"column:DATETIME_PRECISION"`
	CharacterSetName       string `gorm:"column:CHARACTER_SET_NAME"`
	CollationName          string `gorm:"column:COLLATION_NAME"`
	ColumnType             string `gorm:"column:COLUMN_TYPE"`
	ColumnKey              string `gorm:"column:COLUMN_KEY"`
	Extra                  string `gorm:"column:EXTRA"`
	privileges             string `gorm:"column:PRIVILEGES"`
	ColumnComment          string `gorm:"column:COLUMN_COMMENT"`
	GenerationExpression   string `gorm:"column:GENERATION_EXPRESSION"`
}

type InformationSchemaColumns2 struct {
	TableSchema            string
	TableName              string
	ColumnName             string
	OrdinalPosition        int
	ColumnDefault          string
	IsNullable             string
	DataType               string
	CharacterMaximumLength string
	CharacterOctetLength   string
	NumericPrecision       string
	NumbericScale          string
	DatetimePrecision      string
	CharacterSetName       string
	CollationName          string
	ColumnType             string
	ColumnKey              string
	Extra                  string
	privileges             string
	ColumnComment          string
	GenerationExpression   string
}
